package cn.net.xyan.pay.core.dto

import cn.net.xyan.kotlin.NoArg
import java.math.BigDecimal

/**
 * Created by zarra on 2017/3/23.
 */


@NoArg
data class CreateOrderReq(val hospitalID: String, val fee: BigDecimal = BigDecimal.ZERO) {

    constructor( hospitalID: String,  fee: Double ):this(hospitalID, BigDecimal.valueOf(fee))

    var medicalCard: String? = null
    var describe: String? = null
    var payVendorId: String? = null
}

@NoArg
data class UpdateOrderReq(val orderID: String, val status: Int) {
    var fee: BigDecimal? = null
    var payVendorId: String? = null
}